package com.fix.demo.day3.entity;

import java.io.Serializable;

public class Heros implements Serializable {
	
	private Integer id;
	private String name;
	private String nickname;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	
	@Override
	public String toString() {
		return "\nHeros [id=" + id + ", name=" + name + ", nickname=" + nickname + "]";
	} 

}
